package com.lhhu.demo.mapper;

import com.lhhu.demo.bean.NoticeMessage;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Auther 虎
 * @Data 2021/4/11 14:24
 * @Version 1.0
 */
@Repository
public interface NoticeMapper {
    int updateNotice(@Param("id") int id,@Param("messages") String messages);
    List<NoticeMessage> getAllNotice();
}
